//
//  BITabModel.h
//  BIProjectModule
//
//  Created by yown on 2022/2/17.
//

#import "BIModel.h"

@interface BITabItemModel : BIModel

/// 是否选中
@property (nonatomic, assign) BOOL isSelected;
/// item的code
@property (nonatomic, copy) NSString *itemCode;
/// item的文本
@property (nonatomic, copy) NSString *itemName;
/// item常态的图标
@property (nonatomic, copy) NSString *itemNormalImage;
/// item选中态的图标
@property (nonatomic, copy) NSString *itemSelectedImage;
/// item对应的vc
@property (nonatomic, copy) NSString *itemLink;
/// item常态的颜色，包括文本颜色和图标渲染色
@property (nonatomic, readonly) UIColor *itemNormalColor;
/// item选中态的颜色，包括文本颜色和图标渲染色
@property (nonatomic, readonly) UIColor *itemSelectedColor;

@end

@interface BITabModel : BIModel

/// 这个是从服务器获取到的列表
@property (nonatomic, copy) NSArray <BITabItemModel *> *originalTabArray;
/// 建议使用这个；1.这个是限制最多5个的数据; 2.当originalTabArray为空时，会生成一个默认的tab数组
@property (nonatomic, readonly) NSArray <BITabItemModel *> *useTabArray;

@end
